<?php

use App\Models\User;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class UserTest1 extends TestCase
{
    use WithoutMiddleware, DatabaseTransactions;
    /**
     * A basic test example.
     *
     * @return void
     * @throws
     */
    public function testExample()
    {
        // $this->assertTrue(true);
        // $this->withoutEvents();
        // $this->ExpectsEvents(App\Events\PodcastWasPurchased::class);
        // $this->ExpectsEvents(App\Events\SomeEvent::class);
        // $this->doesntExpectJobs(App\Jobs\SendReminderEmail::class);
        Cache::shouldReceive('put');
        Cache::shouldReceive('get')
            ->once()
            ->with('name')
            ->andReturn('John');
        $this->visit('/');
    }
}
